﻿using System.Windows.Forms;

namespace NoteHelper
{
    public static class AlterMsg
    {
        public static void Info(string msg)
        {
            MessageBox.Show(msg, "提示", MessageBoxButtons.OK, MessageBoxIcon.Information);
        }

        public static bool Confirm(string msg)
        {
            var r = MessageBox.Show(msg, "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            return r == DialogResult.Yes;
        }
    }
}
